import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { Field , Dialog,Notify,NoticeBar,
  Icon,Toast,Uploader,ActionSheet,DatetimePicker,
  Tabs,Tab,List,Collapse,CollapseItem,Tag,SwipeItem,Swipe,Lazyload} from 'vant';
import 'vant/lib/index.css';
import http from '../http'
import 'assets/style.css'


Vue.use(Field);
Vue.use(Dialog)
Vue.use(Notify)
Vue.use(NoticeBar)
Vue.use(Icon)
Vue.use(Uploader)
Vue.use(ActionSheet)
Vue.use(DatetimePicker)
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(List)
Vue.use(CollapseItem)
Vue.use(Collapse)
Vue.use(Tag)
Vue.use(Lazyload)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.prototype.$http = http
Vue.prototype.$toast = Toast
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
